<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
<script type="text/javascript" src="file:///android_asset/jquery.min.js"></script>
<script type="text/javascript" src="file:///android_asset/mshare.js"></script>
<button id=btn data-mshare="0">点击弹出原生分享面板</button>
<button data-mshare="1">点击触发朋友圈分享</button>
<button data-mshare="2">点击触发发送给微信朋友</button>
<script>
    var mshare = new mShare({
        title: 'Lorem ipsum dolor sit.',
        url: 'http://m.ly.com',
        desc: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quaerat inventore minima voluptates.',
        img: 'http://placehold.it/150x150'
    });
    $('button').click(function () {
        <!--alert(+$(this).data('mshare'));-->
        mshare.init(+$(this).data('mshare'));
    });
		<!--var btn = document.getElementById("btn");-->
		<!--btn.onclick=function(){-->
			<!--mshare.init(+$(this).data('mshare'));-->
		<!--}-->


</script>
</body>
</html>
